/** When your routing table is too long, you can split it into small modules **/
/** 当路由的列表太长了，可以把路由分到单独的文件中，然后在主路由中引用*/

import Layout from '@/layout'

const demoRouter = {
  path: '/demo',
  component: Layout,
  redirect: 'noRedirect',
  alwaysShow: true,
  name: 'myDemo',
  meta: {
    title: 'demo',
    icon: 'table'
  },
  children: [
    {
      path: 'crud',
      component: () => import('@/views/liuyucheng/Crud'),
      name: 'crud',
      meta: { title: '增删改查模板' }
    },
    {
      path: 'echarts-demo',
      component: () => import('@/views/liuyucheng/ECharts'),
      name: 'echarts-demo',
      meta: { title: '各种小组件' }
    }
  ]
}
export default demoRouter
